package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 车辆保险
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@TableName("erp_insurance")
public class ErpInsurance extends Model<ErpInsurance> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 车辆牌号
     */
    @TableField("car_number")
    private String carNumber;
    /**
     * 产权归属
     */
    @TableField("ins_property")
    private String insProperty;
    /**
     * 保险公司
     */
    @TableField("insurance_company")
    private String insuranceCompany;
    /**
     * 服务电话
     */
    @TableField("telephone_service")
    private String telephoneService;
    /**
     * 业务员
     */
    @TableField("ins_salesman")
    private String insSalesman;
    /**
     * 联系电话
     */
    @TableField("contact_telephone")
    private String contactTelephone;
    /**
     * 保险单号
     */
    private String insurancepolicyno;
    /**
     * 投保日期
     */
    @TableField("insure_dt")
    private String insureDt;
    /**
     * 失效日期
     */
    @TableField("failure_dt")
    private String failureDt;
    /**
     * 保费总额
     */
    @TableField("ins_premium")
    private String insPremium;
    /**
     * 交强险
     */
    private String jiaoqiangxian;
    /**
     * 车辆损失
     */
    @TableField("vehicles_loss")
    private String vehiclesLoss;
    /**
     * 三者责任
     */
    @TableField("ins_liability")
    private String insLiability;
    /**
     * 玻璃破碎
     */
    @TableField("ins_glass")
    private String insGlass;
    /**
     * 司机保险
     */
    @TableField("drivers_insurance")
    private String driversInsurance;
    /**
     * 乘客保险
     */
    @TableField("passenger_insurance")
    private String passengerInsurance;
    /**
     * 车辆盗抢
     */
    @TableField("ins_robbery")
    private String insRobbery;
    /**
     * 不记免赔
     */
    @TableField("ins_deductible")
    private String insDeductible;
    /**
     * 车辆自燃
     */
    @TableField("ins_burning")
    private String insBurning;
    /**
     * 车身刮痕
     */
    @TableField("ins_scratch")
    private String insScratch;

    private  String bz;

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    private transient  String carPlate; //车牌号

    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getInsProperty() {
        return insProperty;
    }

    public void setInsProperty(String insProperty) {
        this.insProperty = insProperty;
    }

    public String getInsuranceCompany() {
        return insuranceCompany;
    }

    public void setInsuranceCompany(String insuranceCompany) {
        this.insuranceCompany = insuranceCompany;
    }

    public String getTelephoneService() {
        return telephoneService;
    }

    public void setTelephoneService(String telephoneService) {
        this.telephoneService = telephoneService;
    }

    public String getInsSalesman() {
        return insSalesman;
    }

    public void setInsSalesman(String insSalesman) {
        this.insSalesman = insSalesman;
    }

    public String getContactTelephone() {
        return contactTelephone;
    }

    public void setContactTelephone(String contactTelephone) {
        this.contactTelephone = contactTelephone;
    }

    public String getInsurancepolicyno() {
        return insurancepolicyno;
    }

    public void setInsurancepolicyno(String insurancepolicyno) {
        this.insurancepolicyno = insurancepolicyno;
    }

    public String getInsureDt() {
        return insureDt;
    }

    public void setInsureDt(String insureDt) {
        this.insureDt = insureDt;
    }

    public String getFailureDt() {
        return failureDt;
    }

    public void setFailureDt(String failureDt) {
        this.failureDt = failureDt;
    }

    public String getInsPremium() {
        return insPremium;
    }

    public void setInsPremium(String insPremium) {
        this.insPremium = insPremium;
    }

    public String getJiaoqiangxian() {
        return jiaoqiangxian;
    }

    public void setJiaoqiangxian(String jiaoqiangxian) {
        this.jiaoqiangxian = jiaoqiangxian;
    }

    public String getVehiclesLoss() {
        return vehiclesLoss;
    }

    public void setVehiclesLoss(String vehiclesLoss) {
        this.vehiclesLoss = vehiclesLoss;
    }

    public String getInsLiability() {
        return insLiability;
    }

    public void setInsLiability(String insLiability) {
        this.insLiability = insLiability;
    }

    public String getInsGlass() {
        return insGlass;
    }

    public void setInsGlass(String insGlass) {
        this.insGlass = insGlass;
    }

    public String getDriversInsurance() {
        return driversInsurance;
    }

    public void setDriversInsurance(String driversInsurance) {
        this.driversInsurance = driversInsurance;
    }

    public String getPassengerInsurance() {
        return passengerInsurance;
    }

    public void setPassengerInsurance(String passengerInsurance) {
        this.passengerInsurance = passengerInsurance;
    }

    public String getInsRobbery() {
        return insRobbery;
    }

    public void setInsRobbery(String insRobbery) {
        this.insRobbery = insRobbery;
    }

    public String getInsDeductible() {
        return insDeductible;
    }

    public void setInsDeductible(String insDeductible) {
        this.insDeductible = insDeductible;
    }

    public String getInsBurning() {
        return insBurning;
    }

    public void setInsBurning(String insBurning) {
        this.insBurning = insBurning;
    }

    public String getInsScratch() {
        return insScratch;
    }

    public void setInsScratch(String insScratch) {
        this.insScratch = insScratch;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpInsurance{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", carNumber=" + carNumber +
        ", insProperty=" + insProperty +
        ", insuranceCompany=" + insuranceCompany +
        ", telephoneService=" + telephoneService +
        ", insSalesman=" + insSalesman +
        ", contactTelephone=" + contactTelephone +
        ", insurancepolicyno=" + insurancepolicyno +
        ", insureDt=" + insureDt +
        ", failureDt=" + failureDt +
        ", insPremium=" + insPremium +
        ", jiaoqiangxian=" + jiaoqiangxian +
        ", vehiclesLoss=" + vehiclesLoss +
        ", insLiability=" + insLiability +
        ", insGlass=" + insGlass +
        ", driversInsurance=" + driversInsurance +
        ", passengerInsurance=" + passengerInsurance +
        ", insRobbery=" + insRobbery +
        ", insDeductible=" + insDeductible +
        ", insBurning=" + insBurning +
        ", insScratch=" + insScratch +
        "}";
    }
}
